package com.hoshiicloud.user.param.organization;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
* <p>
* 新增租户机构附件

com_organization_attach参数
* </p>
*
* @author campchen
* @since 2019-04-28
*/

@Data
@ApiModel(value="新增租户机构附件com_organization_attach", description="新增租户机构附件com_organization_attach")
public class ComOrganizationAttachAddParam implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "采购商ID 由系统自动传递",required = true,example = "3234906557745463318")
    @NotNull(message = "采购商ID不能为空")
    private Long vendorId;

    @ApiModelProperty(value = "attachmentTypeId",name = "证照id(模板id)",example = "1",required = true,dataType = "java.lang.Long")
    private Long attachmentTypeId;

    @ApiModelProperty(value = "附件地址")
    @NotNull(message = "附件地址不能为空")
    private String attachUrl;

    @ApiModelProperty(value = "附件名称")
    @NotNull(message = "附件名称不能为空")
    private String attachName;

    @ApiModelProperty(value = "有效期")
    private String expirationDate;

    @ApiModelProperty(value = "创建人  由系统自动传递",required = true)
    private String createdBy;

}
